var json = require('json');

var narcissus = require('narcissus');

var parsing = require('gelatin/parsing');

exports.testExtractDeps = function() {
  var source = "var fooVar = require('foo');",
      tree = narcissus.parse(source).toJSON(),
      deps = parsing.extractDeps(tree);

  print(json.stringify(deps));
}

if (require.main === module.id) {
  require("test/runner").run(exports);
}
